Optimal. Leaf size=104 \[ \frac{\left (a^2+2 a b x+b^2 x^2\right )^{3/2} (B d-A e)}{3 (d+e x)^3 (b d-a e)^2}+\frac{(a+b x) \sqrt{a^2+2 a b x+b^2 x^2} (A b-a B)}{2 (d+e x)^2 (b d-a e)^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0591883, antiderivative size = 104, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 33, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091, Rules used = {769, 646, 37} \[ \frac{\left (a^2+2 a b x+b^2 x^2\right )^{3/2} (B d-A e)}{3 (d+e x)^3 (b d-a e)^2}+\frac{(a+b x) \sqrt{a^2+2 a b x+b^2 x^2} (A b-a B)}{2 (d+e x)^2 (b d-a e)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 769
Rule 646
Rule 37
Rubi steps
\begin{align*} \int \frac{(A+B x) \sqrt{a^2+2 a b x+b^2 x^2}}{(d+e x)^4} \, dx &=\frac{(B d-A e) \left (a^2+2 a b x+b^2 x^2\right )^{3/2}}{3 (b d-a e)^2 (d+e x)^3}+\frac{(A b-a B) \int \frac{\sqrt{a^2+2 a b x+b^2 x^2}}{(d+e x)^3} \, dx}{b d-a e}\\ &=\frac{(B d-A e) \left (a^2+2 a b x+b^2 x^2\right )^{3/2}}{3 (b d-a e)^2 (d+e x)^3}+\frac{\left ((A b-a B) \sqrt{a^2+2 a b x+b^2 x^2}\right ) \int \frac{a b+b^2 x}{(d+e x)^3} \, dx}{(b d-a e) \left (a b+b^2 x\right )}\\ &=\frac{(A b-a B) (a+b x) \sqrt{a^2+2 a b x+b^2 x^2}}{2 (b d-a e)^2 (d+e x)^2}+\frac{(B d-A e) \left (a^2+2 a b x+b^2 x^2\right )^{3/2}}{3 (b d-a e)^2 (d+e x)^3}\\ \end{align*}
Mathematica [A] time = 0.0391157, size = 81, normalized size = 0.78 \[ -\frac{\sqrt{(a+b x)^2} \left (a e (2 A e+B (d+3 e x))+b \left (A e (d+3 e x)+2 B \left (d^2+3 d e x+3 e^2 x^2\right )\right )\right )}{6 e^3 (a+b x) (d+e x)^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 87, normalized size = 0.8 \begin{align*} -{\frac{6\,B{x}^{2}b{e}^{2}+3\,Axb{e}^{2}+3\,aB{e}^{2}x+6\,Bxbde+2\,aA{e}^{2}+Abde+aBde+2\,Bb{d}^{2}}{6\, \left ( ex+d \right ) ^{3}{e}^{3} \left ( bx+a \right ) }\sqrt{ \left ( bx+a \right ) ^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.52624, size = 200, normalized size = 1.92 \begin{align*} -\frac{6 \, B b e^{2} x^{2} + 2 \, B b d^{2} + 2 \, A a e^{2} +{\left (B a + A b\right )} d e + 3 \,{\left (2 \, B b d e +{\left (B a + A b\right )} e^{2}\right )} x}{6 \,{\left (e^{6} x^{3} + 3 \, d e^{5} x^{2} + 3 \, d^{2} e^{4} x + d^{3} e^{3}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.85542, size = 107, normalized size = 1.03 \begin{align*} - \frac{2 A a e^{2} + A b d e + B a d e + 2 B b d^{2} + 6 B b e^{2} x^{2} + x \left (3 A b e^{2} + 3 B a e^{2} + 6 B b d e\right )}{6 d^{3} e^{3} + 18 d^{2} e^{4} x + 18 d e^{5} x^{2} + 6 e^{6} x^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.11973, size = 158, normalized size = 1.52 \begin{align*} -\frac{{\left (6 \, B b x^{2} e^{2} \mathrm{sgn}\left (b x + a\right ) + 6 \, B b d x e \mathrm{sgn}\left (b x + a\right ) + 2 \, B b d^{2} \mathrm{sgn}\left (b x + a\right ) + 3 \, B a x e^{2} \mathrm{sgn}\left (b x + a\right ) + 3 \, A b x e^{2} \mathrm{sgn}\left (b x + a\right ) + B a d e \mathrm{sgn}\left (b x + a\right ) + A b d e \mathrm{sgn}\left (b x + a\right ) + 2 \, A a e^{2} \mathrm{sgn}\left (b x + a\right )\right )} e^{\left (-3\right )}}{6 \,{\left (x e + d\right )}^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]